package cn.bugDance.infrastructure.persistent.dao;

import cn.bugDance.infrastructure.persistent.po.Task;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ITaskDao {
    void insert(Task task);

    void updateTaskStateSuccess(String messageId);

    void updateTaskStateFail(String messageId);

    List<Task> getNoCompletedTask();

    Task getTask(String messageId);
}
